"""
Tartibsizlikka intilish teoriyasi,
Mandelbrod ko'pligi,
biferkatsion diagramma yoxud
'random' buyrug'i qanday ishlaydi?
"""


def Mandelbrod(r = 3.88, x = 0.4):
    c = 1 - x
    a = 0
    i = 0
    while i <= 5:
        i += 1
        a = r * x * c
    return a

print(Mandelbrod())
